ARMv7: PSCI: ls102xa: check target CPU ID before further operations
authorHongbo Zhang <[email protected]>
Thu, 21 Jul 2016 10:09:37 +0000 (18:09 +0800)
committerYork Sun <[email protected]>
Tue, 26 Jul 2016 16:02:44 +0000 (09:02 -0700)
commit7e742c276dea455d9439caa3f6bc3f4e9a1b5796
tree96dd12df63eddd136030b4b884a716a46f6a81e5
parent116339d460f79911d1b87fa65753d966aaf8b7b9
ARMv7: PSCI: ls102xa: check target CPU ID before further operations

The input parameter CPU ID needs to be validated before furher oprations such
as CPU_ON, this patch introduces the function to do this.

Signed-off-by: Wang Dongsheng <[email protected]>
Signed-off-by: Hongbo Zhang <[email protected]>
Reviewed-by: York Sun <[email protected]>
arch/arm/cpu/armv7/ls102xa/psci.S
arch/arm/include/asm/psci.h